export default {
    template:`
        <div>
            <!-- 电影展示组件 start -->
            <div class="film-item" v-for="film in list">
                <div class="film-img" :style=" 'background-image: url('+film.filmImg+')' "></div>
                <div class="film-title">{{ film.filmName }}</div>
                <div class="film-source">
                    <span class="star-img open"></span>
                    <span class="star-img open"></span>
                    <span class="star-img open"></span>
                    <span class="star-img close"></span>
                    <span class="star-img close"></span>
                    <span class="star-source">{{ film.source }}</span>
                </div>
            </div>
            <!-- 电影展示组件 end -->
        </div>
    `,
    // props:["list"]
    props:{
        list:{
            required:true,
            type:Array
        }
    }
}